<?= $this->render('wow_head.phtml') ?>

<div class="list_head">
<div class="list_search index_search">
<input class="ui-autocomplete-input" type="text" id="tags" name="common_input" autocomplete="off" height="25px" value="<?= $this->query ?>" onkeydown="event.keyCode==13 &amp;&amp; jq('#wow_search').click();" placeholder="请输入关键字" />
	<button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only" id="wow_search" title="搜索" >
		<span class="ui-button-text"></span>
	</button>
</div>

</div>
<div class="list_nav">
				<ul id="sample-menu-2" class="sf-menu">
					<li class="home"><a href="/wow">魔兽世界数据库首页</a></li>
					<?php foreach ($this->menu as $menu): ?>
					<li class="nav_item">
						<a href="/wow/<?= $menu[url]?>"><?= $menu[name]?><i class="arrow"></i></a>
						<?php if ($menu[class_name]) :?>
						<ul>
							<?php foreach ($menu[class_name] as $menuclass) : ?>
							<li>
								<a href="<?= "/wow/$menu[url]?class=$menuclass[class_id]" ?>" ><?= $menuclass[class_name]?></a>
								<?php if ($menuclass[sub_name]) :?>
								<!--[if gte IE 7]><i class="arrow2"></i><![endif]-->
								<!--[if !IE]><!--><i class="arrow2"></i><!--<![endif]-->
								<ul>
									<?php foreach ($menuclass[sub_name] as $menusub) :?>
									<li><a href="<?= "/wow/$menu[url]?class=$menuclass[class_id]&sub=$menusub[sub_id]"?>"><?= $menusub[sub_name]?></a></li>
									<?php endforeach;?>
								</ul>
								<?php endif;?>
							</li>
							<?php endforeach;?>
						</ul>
						<?php endif;?>
					</li>
					<?php endforeach;?>
					<li><a href="http://www.arpggame.com/z/pandaria/" target="_blank">熊猫人之迷专区</a></li>
					<li><a href="http://www.arpggame.com/bbs/forum-wow-1.html"  target="_blank">火爆论坛</a></li>
					<li><a href="/open"  target="_blank">开放平台</a></li>
				</ul>
</div>

<div class="main">
	<div class="main_nav">
		<ul>
			<li><a href="/wow">魔兽世界数据库</a></li>
			<?= $this->nav?>
		</ul>
	</div>


<?= $this->layout()->content ?>

</div>

<?= $this->render('wow_foot.phtml') ?>